﻿using System;
using IQToolkit;
using IQToolkit.Data;
using Infrastucture.Factories;
using TimeSplicerModule.DataModels;
using TimeSplicerModule.DomainModels;

namespace TimeSplicerModule.Factories
{
    public interface IApplicationRoleFactory : Infrastucture.Factories.IFactory<ApplicationRoleDataModel, ApplicationRoleModel>
    { }

    public class ApplicationRoleFactory : Factory<ApplicationRoleDataModel, ApplicationRoleModel>, IApplicationRoleFactory
    {
        public ApplicationRoleFactory(DbEntityProvider provider, IEntityTable<ApplicationRoleDataModel> db)
            : base(provider, db)
        {

        }
    }
}
